﻿using System.Web.Security;

namespace MvcWebRole1.Models
{
    public interface IMembershipService
    {
        int MinPasswordLength { get; }

        bool ValidateUser(string zipCode, string nickName, string password);
        MembershipCreateStatus CreateUser(string zipCode, string nickName, string password, string familyName, string givenName , string email , string birthDate );
        bool ChangePassword(string zipCode , string nickName, string oldPassword, string newPassword);
        string GetIdentityName(string zipCode, string nickName);
    }
}